package org.jimmy.tang.designpattern.behavior.chain;

/**
 * @author jimmy
 * 
 */
public class HRRequestHandle implements RequestHandle {

    /* (non-Javadoc)
     * @see org.jimmy.tang.designpattern.behavior.chain.RequestHandle#handleRequest(org.jimmy.tang.designpattern.behavior.chain.Request)
     */
    @Override
    public void handleRequest(Request request) {
        if (request instanceof DimissionRequest) {
            System.out.println("Dimission request, HR handle.");
        }

        System.out.println("Request finished.");

    }

}
